﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Sinbiota.Web.Models.CreateUserModel>" %>
<%@ Import Namespace="Localization" %>

<asp:Content ID="registerTitle" ContentPlaceHolderID="TitleContent" runat="server">
    <%: Strings.Create + " " + Strings.User %>
</asp:Content>

<asp:Content ID="registerContent" ContentPlaceHolderID="MainContent" runat="server">
    <h2><%: Strings.Create + " " + Strings.User %></h2>
<%--    <p>
        Use the form below to create a new account. 
    </p>
    <p>
        Passwords are required to be a minimum of <%: ViewData["PasswordLength"] %> characters in length.
    </p>
--%>
    <% Html.EnableClientValidation(); %>
    <% using (Html.BeginForm("Create","User")) { %>
        <%: Html.ValidationSummary(true) %>
        <div>
            <fieldset>
                <legend><%: Strings.Fields %></legend>
            
                <%: Html.EditorForModel() %>                
                <p>
                    <input type="submit" value="Register" />
                </p>
            </fieldset>
        </div>
    <% } %>
</asp:Content>
